'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;

  // router.redirect('/', '/login', 302);
  router.get('/',controller.home.index);
  router.get('/login',controller.login.index);
  router.post('/login',controller.login.vertify);
  router.get('/server',controller.server.index);
};


